package com.qf.pck.controller;

import com.qf.pck.service.PackageTenantPermsService;
import com.qf.vo.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author zhu
 * @since 2023-10-27
 */
@RestController
@RequestMapping("/package-tenant-perms")
@CrossOrigin
public class PackageTenantPermsController {



    @Autowired
    private PackageTenantPermsService packageTenantPermsService;

    @GetMapping("/all")
    public R all(){

        return R.ok(packageTenantPermsService.list());
    }





}
